<div id="pickupPreDetail" class="page" data-page="pickupPreDetail">
	<div class="pickupDetailContent">
		<div class="pickupDetailTitle">
			<span>提前还款申请信息</span>
			<a id="consentPrePickup" style="text-decoration: none;">同意提货</a>
			<a id="oppasePrePickup" style="text-decoration: none;">拒绝提货</a>
		</div>
		<div class="dataline">
			<div class="w30p">运单号：
				<a class="data" name="pickupNumber"></a>
			</div>
			<div class="w30p">所属融资编号：
				<a class="data" name="financeNumber"></a>
			</div>
			<div class="w30p">申请人：<span class="data" name="enterpriseName"></span>-<span class="data" name="applicant"></span></div>
		</div>
		<div class="dataline">
			<div class="w30p">提货方式：<span id="pickupPreDetailPickupMethod" class="data" name="pickupMethod"></span></div>
			<div class="w30p">配送方式：<span id="pickupPreDetailDeliveryMethod" class="data" name="deliveryMethod"></span></div>
			<div class="w30p">配送时间：<span class="data" name="deliveryDate"></span></div>
		</div>
		<div class="dataline">
			<div class="w30p">配送地址：<span class="data" name="deliveryAddress"></span></div>
			<div class="w30p">预计应还：<span style="color: #ff7344; font-weight: bold;">￥<span class="data" name="estimateAmount"></span></span>
			</div>
			<div class="w30p">原配送时间：<span class="oldDeliveryDate"></span></div>
		</div>
		<div class="dataline">申请备注：<span class="data" name="remark"></span></div>
		<div>
			<div class="dataline tableTip">申请提货货物：</div>
			<table class="bulkstockTable" border="0" cellspacing="0" cellpadding="0" id="pickupPreDetailBulkstockBody">
				<script type="text/template" id="pickupPreDetailBulkstockTpl">
					<tr>
						<th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;货物名称</th>
						<th>规格型号</th>
						<th>重量(吨)</th>
						<th>体积(m<sup>3</sup>)</th>
						<th>已提</th>
						<th>本次预提数量</th>
						<th>货物估值</th>
						<th>应放款</th>
					</tr>
					{@each datas as it} {@each it.pickupBulkstocks as item}
					<tr>
						<td style="display: block; margin-left: 21px;">${item.bulkstockName}</td>
						<td>${item.specification}</td>
						<td>${item.weight}</td>
						<td>${item.volume}</td>
						<td>${item.pickup}（${item.unit}）</td>
						<td style="display: block; margin-right: 27px;">${item.quantity}（${item.unit}）</td>
						<td>&#65509;${item.bulkstockValuation}</td>
						<td>&#65509;${item.financeValuation}</td>
					</tr>
					{@/each} {@/each}
				</script>
			</table>
		</div>
		<div>
			<div class="saperateLine">------------------------------------------------------------------------------ 指定货箱 ------------------------------------------------------------------------------</div>
			<table class="inventoryTable" border="0" cellspacing="0" cellpadding="0" id="pickupPreDetailInventoryBody">
				<script type="text/template" id="pickupPreDetailInventoryTpl">
					<tr>
						<th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱号</th>
						<th>箱型尺寸</th>
						<th>运单号</th>
						<th>货物</th>
						<th>数量</th>
						<th>重量</th>
						<th>体积</th>
						<th>货物金额</th>
						<th>计息期间</th>
						<th>服务费</th>
						<th>状态</th>
						<th>操作</th>
					</tr>
					{@each datas as it} {@each it.containerInventorys as item}
					<tr inventoryId="${item.inventoryId}">
						<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${item.caseNumber}</td>
						<td>${item.caseSize}</td>
						<td>${item.waybillNumber}</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.bulkstockName}(${that.specification})<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.quantity}(${that.unit})<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.weight}(吨)<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.quantity}(m³)<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} &#65509;${that.financeValuation}<br /> {@/each}
						</td>
						<td>${(item.valueDate).substring(0, 10)}~${it.deliveryDate}</td>
						<td>
							{@each item.containerBulkstocks as that} &#65509;${that.interest}<br /> {@/each}
						</td>
						<td>${getValueByKey(5, item.supervisionState)}</td>
						<td><a class="detail">详情</a></td>
					</tr>
					{@/each} {@/each}
				</script>
			</table>
		</div>
	</div>
</div>